package com.ljh.mall.product.feign;

import com.ljh.common.dto.es.SkuESModel;
import com.ljh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author ：刘剑鸿
 * @date ：Created in 2022/12/17 21:41
 * @description：es检索
 * @modified By：
 * @version: $
 */
@FeignClient("mall-search")
public interface SearchFeginService {
    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuESModel> skuESModels);
}
